HCaptcha\ElementorPro\HCaptchaHandler S

Total Complexity 30
Dependencies 8
Dependents 1
Total lines 432
Lines of code 215
Logical lines of code 73
Comment lines 149
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
validation()
S
57 4 16
init()
S
54 2 23
filter_field_item()
S
68 3 7
register_scripts()
S
54 1 25
modify_controls()
S
56 1 20
render_field()
S
56 1 18
localize_settings()
S
59 1 17
is_enabled()
S
79 2 3
add_render_attributes()
S
63 1 12
print_inline_styles()
S
66 1 12
get_setup_message()
S
79 1 3
after_enqueue_scripts()
S
64 1 10
get_script_handle()
S
79 1 3
get_hcaptcha_size()
S
79 1 3
enqueue_scripts()
S
72 1 6
get_hcaptcha_theme()
S
79 1 3
get_secret_key()
S
79 1 3
get_site_key()
S
79 1 3
add_field_type()
S
72 1 5
get_hcaptcha_name()
S
80 1 3
register_action()
S
80 1 3
print_footer_scripts()
S
64 1 10
__construct()
S
67 1 7